package com.hospital.hospitalserver.entity.Vo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 查询响应的收费信息实体类
 * */
@Data
public class PaymentVO {
    private Long paymentId;
    private String paymentNo;
    private Long visitId;
    private String appointmentId;
    private String patientName;
    private String idNumber;
    private String phoneNumber;
    private String paymentType;
    private String sourceType;
    private Long sourceId;
    private BigDecimal payableAmount;
    private BigDecimal discountAmount;
    private BigDecimal actualAmount;
    private BigDecimal paidAmount;
    private String paymentMethod;
    private String insuranceCardNumber;
    private String reimbursementRate;
    private BigDecimal insurancePayment; //医保支付
    private BigDecimal personalPayment;  //个人支付
    private String paymentStatus;
    private LocalDateTime paymentTime;
    private String operatorName;
    private String windowNumber;
    private String notes;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String patientAvatar; // 需要你补充从患者表获取的逻辑

    private List<PaymentItemVO> items;
}
